import request from '../utls/request'

export function getPoliceofficerApi(params){
    return request({
        url:'/getpoliceofficer',
        method:'get',
        params
    })
}
//删除请求
export function deleteByIdApi(data){
    return request(
        {
            url:"/Policedelete",
            method:"post",
            data:data
        }
    )
}
//添加
export function addFunApi(data){
    return request({
        url:'/Policeaddhangder',
        method:'post',
        data:data
    })
}
//修改
export function updateFunApi(data){
    return request({
        url:'/uphangder',
        method:'post',
        data:data
    })
}